package com.simple.llm.domain.vo;

public class ChatVO {
    private String role;
    private String parentMessageId;
    private String id;
    private String text;
    private Detail detail;
    public static class Detail{
        private String id;

        public String getId() {
            return id;
        }

        public Detail setId(String id) {
            this.id = id;
            return this;
        }
    }

    public String getRole() {
        return role;
    }

    public ChatVO setRole(String role) {
        this.role = role;
        return this;
    }

    public String getParentMessageId() {
        return parentMessageId;
    }

    public ChatVO setParentMessageId(String parentMessageId) {
        this.parentMessageId = parentMessageId;
        return this;
    }

    public String getText() {
        return text;
    }

    public ChatVO setText(String text) {
        this.text = text;
        return this;
    }

    public String getId() {
        return id;
    }

    public ChatVO setId(String id) {
        this.id = id;
        this.detail = new Detail();
        this.detail.setId(id);
        return this;
    }

    public Detail getDetail() {
        return detail;
    }

    public ChatVO setDetail(Detail detail) {
        this.detail = detail;
        return this;
    }
}
